package me.keiwu.pub.rpc;

import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by kei on 07/02/2018.
 */
public interface UserStatisticsRpcPub {

    @Async
    @RequestMapping("/rpc/statistics/incrStealCount")
    void incrStealGoldCount(@RequestParam("userId") Long userId);


    @RequestMapping("/rpc/statistics/get")
    String getUserStatistics(@RequestParam("userId") Long userId);

}
